package model;

import java.math.BigDecimal;
import java.util.Date;

public class StudentScholarship {
    private int id;
    private String name;

    private String criteria;       // 奖学金条件


    // ✅ 无参构造方法（必须有）
    public StudentScholarship() {
    }

    // ✅ 你调用时需要的构造方法
    public StudentScholarship(String name, String requirement) {
        this.name = name;
        this.criteria = requirement;
    }

    // ✅ 如果需要更多参数的构造方法，也可以加
    public StudentScholarship(int id, String name,  String criteria) {
        this.id = id;
        this.name = name;
        this.criteria = criteria;

    }

    // ✅ Getter & Setter 方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public String getCriteria() {
        return criteria;
    }

    public void setCriteria(String criteria) {
        this.criteria = criteria;
    }


}
